class AddAdvertiseGroupsIdInAdvertise < ActiveRecord::Migration
  def up
    add_column :advertises,:advertise_group_id,:integer
    remove_column :advertises,:start_at
    remove_column :advertises,:end_at
    remove_column :advertises,:status
    remove_column :advertises,:terminal_group_id
  end

  def down
  end
end
